package org.syyo.admin.mapper;

import org.syyo.admin.domain.request.MenuReq;
import org.syyo.admin.domain.response.MenuResp;

import java.util.List;

/**
 * @Auther: wangzhong
 * @Date: 2019/10/8 17:07
 * @Description:
 */
public interface MenuMapper {

    int addMenu(MenuReq req);

    int delMenu(Integer menuId);

    int editMenu(MenuReq req);

    MenuResp getMenu(Integer menuId);

    List<MenuResp> listMenu(MenuReq req);

    int checkMenu(String url);

}
